/* 
 * File:   Text.h
 * Author: agu
 *
 * Created on 28 de mayo de 2014, 16:09
 */

#ifndef TEXT_H
#define	TEXT_H

#include "SDL2/SDL_ttf.h"
#include "client_Surface.h"
#include "client_Color.h"
#include <SDL2/SDL.h>
#include <string>
using std::string;

class Text {
public:
    Text(const string fontPath, Color color,int size);
    Text(const Text& orig);
    ~Text();
    void setMessage(const string message);
    string getMessage(const string message);
    void cleanMessage();
    void copy(Surface& surface);
private:
    //The font
    TTF_Font *font;
    //The color of the font
    Color color;
    int size;
    string message;
};

#endif	/* TEXT_H */

